gtkplug: set decorated to FALSE by default
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>
Thu, 4 Jun 2015 20:40:38 +0000 (23:40 +0300)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 5 Jun 2015 03:41:19 +0000 (23:41 -0400)
The change in c5e5ee67490e7e7af56052d8f8beb75db002c2f1 introduced
a regression - all GtkPlug windows has unexpected extra space. Fix
this by setting decorated to FALSE for GtkPlug window.

https://bugzilla.gnome.org/show_bug.cgi?id=750424

gtk/gtkplug.c

index c0201c943c5163c83a464784eb307a5aa31c7e4d..93a6a7c033e7c84adb9c64be79b171ef4a65a445 100644 (file)
@@ -235,6 +235,8 @@ static void
 gtk_plug_init (GtkPlug *plug)
 {
   plug->priv = gtk_plug_get_instance_private (plug);
+
+  gtk_window_set_decorated (GTK_WINDOW (plug), FALSE);
 }
 
 /**